const getters = {
  device: state => state.app.device,
  theme: state => state.app.theme,
  color: state => state.app.color,
  multiTab: state => state.app.multiTab,
  token: state => state.user.token,
  roles: state => state.user.roles,
  userDetail: state => state.user.userDetail,
  enterAccount: state => state.user.enterAccount,
  openStatus:state=>state.user.openState,
  avatar: state => state.permission.avatar,
  nickname: state => state.permission.name,
  welcome: state => state.permission.welcome,
  userInfo: state => state.permission.info,
  addRouters: state => state.permission.addRouters,
  routers:state => state.permission.routers,
  btns:state => state.permission.btns,
  sign: state => state.permission.sign,
  taskField:state => state.permission.taskField,
  lang: state => state.i18n.lang,
  serviceFee: state => state.enterprise.enterpriseServiceFee,
  staffData: state => state.staff.staffData,
  orgData: state => state.department.orgData,
  orgRoleData: state => state.department.orgRoleData,
  accountTypeData:state => state.department.accountTypeData,
  orgFields: state => state.department.orgFields,
}

export default getters
